package router

import (
	"github.com/gogf/gf/v2/net/ghttp"

	_ "github.com/fastknifes/usdt-pay/internal/http/api"

	sysRouter "github.com/fastknifes/usdt-pay/internal/http/common/router"
)

func Handler(s *ghttp.Server) {
	s.Group("/", func(group *ghttp.RouterGroup) {
		group.Middleware(ghttp.MiddlewareHandlerResponse)
		sysRouter.Handler(group)
	})
}
